package haoyou.csnf.manager.module.pm.controller.admin.employeeinfo.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import haoyou.csnf.manager.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static haoyou.csnf.manager.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 职工信息分页 Request VO")
@Data
public class EmployeeInfoPageReqVO extends PageParam {

    @Schema(description = "所属部门", example = "8595")
    private Integer depId;

    @Schema(description = "职位序列", example = "13746")
    private Integer seqId;

    @Schema(description = "职位", example = "1")
    private Integer posId;

    @Schema(description = "类型", example = "2")
    private String empType;

    @Schema(description = "姓名", example = "李四")
    private String empName;

    @Schema(description = "工号")
    private String empNo;

    @Schema(description = "手机")
    private String mobile;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "身份证号")
    private String idNo;

    @Schema(description = "学院入职时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] collegeEntryDate;

    @Schema(description = "身份标记")
    private String typeFlag;

    @Schema(description = "状态标记")
    private String statusFlag;

}